package com.tudouji.project.copy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 同步参数对象 copyparam
 * 
 * @author wf
 * @date 2020-12-30
 */
public class Copyparam
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private Integer type;

    /** 是否同步 */
    @Excel(name = "是否同步")
    private Integer iscopy;

    /** 同步参数 */
    @Excel(name = "同步参数")
    private String param;

    /** 操作人 */
    @Excel(name = "操作人")
    private String createdby;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdatetime;

    private String nickName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startdate;

    private boolean innerprice;
    
    private String businessPrefix;

    private String intype;

    private String outtype;

    private Integer kind;

    private String conditions;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setIscopy(Integer iscopy)
    {
        this.iscopy = iscopy;
    }

    public Integer getIscopy()
    {
        return iscopy;
    }
    public void setParam(String param) 
    {
        this.param = param;
    }

    public String getParam() 
    {
        return param;
    }
    public void setCreatedby(String createdby) 
    {
        this.createdby = createdby;
    }

    public String getCreatedby() 
    {
        return createdby;
    }
    public void setLastupdatetime(Date lastupdatetime) 
    {
        this.lastupdatetime = lastupdatetime;
    }

    public Date getLastupdatetime() 
    {
        return lastupdatetime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public boolean isInnerprice() {
        return innerprice;
    }

    public void setInnerprice(boolean innerprice) {
        this.innerprice = innerprice;
    }

    public String getBusinessPrefix() {
		return businessPrefix;
	}

	public void setBusinessPrefix(String businessPrefix) {
		this.businessPrefix = businessPrefix;
	}

    public String getIntype() {
        return intype;
    }

    public void setIntype(String intype) {
        this.intype = intype;
    }

    public String getOuttype() {
        return outtype;
    }

    public void setOuttype(String outtype) {
        this.outtype = outtype;
    }

    public Integer getKind() {
        return kind;
    }

    public void setKind(Integer kind) {
        this.kind = kind;
    }

    public String getConditions() {
        return conditions;
    }

    public void setConditions(String conditions) {
        this.conditions = conditions;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("iscopy", getIscopy())
            .append("param", getParam())
            .append("createdby", getCreatedby())
            .append("createtime", getCreatetime())
            .append("lastupdatetime", getLastupdatetime())
            .toString();
    }
}
